package com.ysd.lis.entity.lab;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 标本交接单主表
 * </p>
 *
 * @author bai
 * @since 2024-02-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("LAB_DELIVERY_RECEIPT")
public class LabDeliveryReceipt extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 交接人ID
     */
    @TableField("HANDOVER_PERSON_ID")
    private String handoverPersonId;

    /**
     * 交接人
     */
    @TableField(exist = false)
    private String handoverPersonNa;

    /**
     * 接收人ID
     */
    @TableField("RECEIVER")
    private String receiver;

    /**
     * 接收人
     */
    @TableField(exist = false)
    private String receiverNa;

    /**
     * 交接时间
     */
    @TableField("HANDOVER_TIME")
    private Date handoverTime;

    /**
     * 交接数量
     */
    @TableField("QUANTITY")
    private BigDecimal quantity;
    /**
     * 交接单类型 0 采样 1 接收 2 送出 3 送达
     */
    @TableField("TYPE")
    private String type;
    @TableField("BATCH_NO")
    private String batchNo;
    @TableField(exist = false)
    private List<LabReqMain> labReqMains;
    @TableField(exist = false)
    private String keywords;


}
